<?php
	class ControllerModuleKhuyenmai extends Controller
	{
		public function index()
		{
			$this->load->model("core/media");
			$this->data['post'] = $this->model_core_media->getInformationMedia("site7", "content");
			if(count($this->data['post']) == 0)
			{
				$this->data['post']['summary'] = "Đang cập nhật...";
				
			}
			
			$this->data['post']['link'] = "index.php?route=page/detail&sitemapid=site7"; 
			$this->id="module_khuyenmai";
			$this->template="module/khuyenmai.tpl";
			$this->render();
		}
	}
?>